// FiveView.h : interface of the CFiveView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FIVEVIEW_H__A79C96C0_561B_4C1A_85FC_94DE1E6EE35F__INCLUDED_)
#define AFX_FIVEVIEW_H__A79C96C0_561B_4C1A_85FC_94DE1E6EE35F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CFiveView : public CFormView
{
protected: // create from serialization only
	CFiveView();
	DECLARE_DYNCREATE(CFiveView)

public:
	//{{AFX_DATA(CFiveView)
	enum{ IDD = IDD_FIVE_FORM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CFiveDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFiveView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL RestartGame();
	LRESULT OnPutChess(WPARAM wParam, LPARAM lParam);
	virtual ~CFiveView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFiveView)
	afx_msg void OnPaint();
	afx_msg void OnTwoHuman();
	afx_msg void OnHumanFirst();
	afx_msg void OnUpdateHumanFirst(CCmdUI* pCmdUI);
	afx_msg void OnComputerFirst();
	afx_msg void OnUpdateComputerFirst(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in FiveView.cpp
inline CFiveDoc* CFiveView::GetDocument()
   { return (CFiveDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FIVEVIEW_H__A79C96C0_561B_4C1A_85FC_94DE1E6EE35F__INCLUDED_)
